package com.example.dormlist.entity;


import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.extern.apachecommons.CommonsLog;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@NoArgsConstructor
@Entity()
@Table(name = "user_auth_code")
public class UserAuthCode {

    @Id
    @Column(name = "id")
    private Long id;

    @Column(
            name = "uid",
            nullable = false
    )
    private Long uid;

    @Column(
            name = "auth_code",
            nullable = false
    )
    private String authCode;
}
